File: /home/undanet/www/wp-content/themes/panoramic/library/template-parts/header-standard.php
<?php
$logo = '';
if ( function_exists( 'has_custom_logo' ) ) {
if ( has_custom_logo() ) {
$logo = get_custom_logo();
}
} else if ( get_theme_mod( 'panoramic-logo', '' ) != '' ) {
$logo = "<a href=\"". esc_url( home_url( '/' ) ) ."\" title=\"". esc_attr( get_bloginfo( 'name', 'display' ) ) ."\" class=\"custom-logo-link\"><img src=\"". esc_url( get_theme_mod( 'panoramic-logo', '' ) ) ."\" alt=\"". esc_attr( get_bloginfo( 'name' ) ) ."\" class=\"custom-logo\" /></a>";
}
?>
<div class="site-container">
<div class="branding">
<?php
if( $logo ) :
echo $logo;
else :
?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" class="title"><?php bloginfo( 'name' ); ?></a>
<div class="description"><?php bloginfo( 'description' ); ?></div>
<?php
endif;
?>
</div><!-- .site-branding -->
<div class="site-header-right">
<?php
if ( panoramic_is_woocommerce_activated() && get_theme_mod( 'panoramic-header-shop-links', true ) ) {
get_template_part( 'library/template-parts/shop-links' );
} else {
?>
<div class="info-text">
<?php echo wp_kses_post( pll__( get_theme_mod( 'panoramic-header-info-text', __( '<strong><em>CALL US:</em></strong> 555-PANORAMIC', 'panoramic' ) ) ) ) ?>
</div>
<?php get_template_part( 'library/template-parts/social-links' ); ?>
<?php
}
?>
</div>
<div class="clearboth"></div>
<?php if( get_theme_mod( 'panoramic-header-search', true ) ) : ?>
<div class="search-block">
<?php get_search_form(); ?>
</div>
<?php endif; ?>
</div>
<?php
global $is_translucent;
$is_translucent = true;
if ( !is_front_page() ) {
$is_translucent = false;
} else if ( is_front_page() && get_theme_mod( 'panoramic-slider-type', 'panoramic-no-slider' ) == 'panoramic-no-slider' && !get_header_image() ) {
$is_translucent = false;
} else if ( is_front_page() && get_theme_mod( 'panoramic-slider-type', 'panoramic-no-slider' ) == 'panoramic-slider-plugin' && get_theme_mod( 'panoramic-slider-plugin-shortcode', '' ) == '' ) {
$is_translucent = false;
}
get_template_part( 'library/template-parts/navigation-menu' );